<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>beignet</Name>
        <Homepage>https://www.freedesktop.org/wiki/Software/Beignet/</Homepage>
        <Packager>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Open source implementation of the OpenCL for Intel GPUs</Summary>
        <Description>Open source implementation of the OpenCL for Intel GPUs</Description>
        <Archive sha1sum="c3a689ec504c2d28e856a62bf97e5abb0da4a797" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/beignet-1.3.2_12.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>llvm</Dependency>
            <Dependency>llvm-libs</Dependency>
            <Dependency>opencl-icd-devel</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="0">llvm8.patch</Patch>
            <Patch level="0">llvm9.patch</Patch>
            <Patch level="1">llvm10.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>beignet</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>llvm-clang</Dependency>
            <Dependency>opencl-icd</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libdrm-intel</Dependency>
            <Dependency>llvm</Dependency>
            <Dependency>llvm-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2022-08-25</Date>
            <Version>1.3.2_12</Version>
            <Comment>Rebuild llvm</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
       </Update>
      <Update release="1">
            <Date>2020-01-11</Date>
            <Version>1.3.2_12</Version>
            <Comment>First Release</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
       </Update>
    </History>
</PISI>

